package com.duobaoyu.dby.supply.biz.client.boundary.message.bean.dto;

import com.duobaoyu.dby.channel.adapter.enums.ChannelCodeEnum;
import com.duobaoyu.dby.channel.adapter.enums.biz.message.MessageTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName MessagePullDTO
 * @createTime 16:00:00 2023/10/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MessagePullDTO implements Serializable {
    private static final long serialVersionUID = -1855600595185146270L;

    /**
     * 渠道编码
     *
     * @see ChannelCodeEnum
     */
    private String channelCode;
    /**
     * 对接渠道配置唯一Key
     */
    private String configUniqueKey;
    /**
     * 消息类型
     * @see MessageTypeEnum
     */
    private String messageType;
    /**
     * 页码
     */
    private Integer pageNo;
    /**
     * 每页条数 京东默认100 壹钱包最大100
     */
    private Integer pageSize;
}
